<template>
    <div id="main">
      <router-view></router-view>
    </div>
</template>

<script>
export default {
  name: 'Main'
}
</script>

<style>
#main{
  background-color: #fff;
  /*width: 100%;*/
  height: 100%;
  padding: 10px;
  overflow: auto;
  box-sizing: border-box;
}

/*滚动条样式*/
#main::-webkit-scrollbar {/*滚动条整体样式*/
  width: 6px;     /*高宽分别对应横竖滚动条的尺寸*/
  height: 6px;
}
#main::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.2);
}
#main::-webkit-scrollbar-track {/*滚动条里面轨道*/
  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  border-radius: 0;
  background: rgba(0,0,0,0.1);
}
</style>
